package com.htu.controller;

import com.htu.po.PayLog;
import com.htu.service.PayLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/PayLogController")
public class PayLogController {
@Autowired
    private PayLogService payLogService;
 @RequestMapping("/savePayLog")
    public int savePayLog(PayLog payLog) {
       return payLogService.savePayLog(payLog);
    }

}
